home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1998 January / macformat-059.iso / mac / Demos / Martial Arts Demo / media / exit.Dxr / Internal_3.ls < prev    next >
Encoding:
Text File  |  1997-09-30  |  1.5 KB  |  52 lines

  1. on exitFrame
  2.   repeat with a = 8 to 11
  3.     if rollOver(a) and the mouseDown then
  4.       case the rollOver of
  5.         8:
  6.           puppetSound("PUNCH")
  7.           puppetSprite(8, 1)
  8.           set the member of sprite 8 to member (the memberNum of sprite 8 + 1) of castLib "graphics"
  9.           updateStage()
  10.           sixthSecDel()
  11.           puppetSprite(8, 0)
  12.           updateStage()
  13.           go("SPLASH")
  14.         9:
  15.           cursorSign()
  16.           puppetSound("PUNCH")
  17.           puppetSprite(9, 0)
  18.           set the member of sprite 9 to member (the memberNum of sprite 9 + 1) of castLib "graphics"
  19.           updateStage()
  20.           sixthSecDel()
  21.           puppetSprite(9, 0)
  22.           updateStage()
  23.           repeat with a = 1 to 48
  24.             puppetSprite(a, 0)
  25.           end repeat
  26.           go("blackout")
  27.           go("main", "main.dir")
  28.           abort()
  29.         10:
  30.           puppetSound("PUNCH")
  31.           puppetSprite(10, 1)
  32.           set the member of sprite 10 to member (the memberNum of sprite 10 + 1) of castLib "graphics"
  33.           updateStage()
  34.           sixthSecDel()
  35.           puppetSprite(10, 0)
  36.           updateStage()
  37.           go("CTVCREDS")
  38.         11:
  39.           puppetSound("PUNCH")
  40.           puppetSprite(11, 1)
  41.           set the member of sprite 11 to member (the memberNum of sprite 11 + 1) of castLib "graphics"
  42.           updateStage()
  43.           sixthSecDel()
  44.           puppetSprite(11, 0)
  45.           updateStage()
  46.           go("JEANHICKSCREDS")
  47.       end case
  48.     end if
  49.   end repeat
  50.   go(the frame)
  51. end
  52.